# 程序主入口
import sys
sys.path.append('.API')
from API.index import runServer
from gevent import pywsgi

from API import app

if __name__ == '__main__':
    runServer()
    server = pywsgi.WSGIServer(('127.0.0.1', 8081), app)
    server.serve_forever()